package com.woniu.microcommunityserver.book.service;

import com.woniu.microcommunityserver.book.entity.BookInformationInfoEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BookInformationInfoService {
    List<BookInformationInfoEntity> findAll();

    List<BookInformationInfoEntity> findAny(Map<String,Object> map);

    boolean insertBook(BookInformationInfoEntity bookInformationInfoEntity);

    boolean deleteBook(Integer id);

    boolean loanBook(Integer id);

    boolean backBook(Integer id);

    boolean updateBook(BookInformationInfoEntity bookInformationInfoEntity);


}
